﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="TinTuc.aspx.cs" Inherits="WebApplication.TinTuc" %>

<%@ Register Src="Controls/UC_Pages.ascx" TagName="UC_Pages" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="tt_table">
        <asp:DataList ID="dlListTT" runat="server" RepeatColumns="1">
            <HeaderTemplate>
                <table>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td class="tds">
                    </td>
                </tr>
                <tr class="tt_td">
                    <td>
                        <a href='<%#BLL.LinkBLL.ToTinTucs(Eval("IDTinTuc").ToString()) %>'>
                            <img src='<%#BLL.LinkBLL.ToTinTucImages(Eval("HinhAnh").ToString()) %>' alt='<%#HttpUtility.HtmlEncode(Eval("TieuDe").ToString()) %>' />
                        </a>
                        <h3>
                            <a href='<%#BLL.LinkBLL.ToTinTucs(Eval("IDTinTuc").ToString()) %>'>
                                <%#HttpUtility.HtmlEncode(Eval("TieuDe").ToString()) %></a>
                        </h3>
                        <p>
                            <%#HttpUtility.HtmlDecode(Eval("MoTa").ToString()) %>
                        </p>
                        <p>
                            Ngày Đăng :<%#Eval("NgayDang","{0:dd/MM/yyyy}") %></p>
                    </td>
                </tr>
                <tr>
                    <td class="tds">
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
              
            </FooterTemplate>
        </asp:DataList>
           <uc1:UC_Pages ID="pagerBottom" runat="server" />
    </div>
   
</asp:Content>

